#include "junix.h"
#include <tr1/memory>

using namespace std;

int main(int argc, char **argv)
{
	using std::tr1::shared_ptr;
	std::tr1::shared_ptr<int> pi(new int(99));
	shared_ptr<int> pi2;

	pi2=pi;
	cout<<*pi<<endl<<*pi2<<endl;

}
